import React from 'react'
import {
    HashRouter,
    Switch,
    Route,
} from 'react-router-dom'
import Home from './user/Home'
import About from './user/About'

class Router extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {

        return (
            <HashRouter>
                <Switch>
                    <Route path="/About" component={About}/>
                    <Route path="/" component={Home} />
                </Switch>
            </HashRouter>
        )
    }
}
export default Router